﻿using FluentNHibernate.Mapping;
using Sebrae.Academico.Trilhas.Dominio.Classes;

namespace Sebrae.Academico.Trilhas.BM.Mapeamentos
{

    public sealed class TrilhaPermissaoMap : ClassMap<TrilhaPermissao>
    {
        /// <summary>
        /// Construtor.
        /// </summary>
        public TrilhaPermissaoMap()
        {
            Table("TB_TRILHAPERMISSAO");
            LazyLoad();
            Id(x => x.ID).GeneratedBy.Identity().Column("ID_TRILHAPERMISSAO");
        }

    }
}
